package com.it.gmall.product.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.gmall.model.product.BaseAttrInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface BaseAttrInfoMapper extends BaseMapper<BaseAttrInfo> {
    /**
     * 根据分类id获取平台属性
     * @param category1Id
     * @param category2Id
     * @param category3Id
     * @return
     */
    List<BaseAttrInfo> attrInfoList(
            @Param("category1Id") long category1Id,
            @Param("category2Id") long category2Id,
            @Param("category3Id") long category3Id);
}
